package com.example.lenovo.model;

import java.util.List;

/**
 * 作者：tb on 2019/3/14.
 * 邮箱：
 * 版本：
 */
public class CategoryListModel {

    private String msg;
    private int code;
    private Data data;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public Data getData() {
        return data;
    }

    public static class CategoryList {

        private int c_id;
        private String name;
        private String name_en;
        private String img;
        private String img_url;

        public void setC_id(int c_id) {
            this.c_id = c_id;
        }

        public int getC_id() {
            return c_id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getName() {
            return name;
        }

        public void setName_en(String name_en) {
            this.name_en = name_en;
        }

        public String getName_en() {
            return name_en;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getImg() {
            return img;
        }

        public void setImg_url(String img_url) {
            this.img_url = img_url;
        }

        public String getImg_url() {
            return img_url;
        }

    }

    public class Banner {

        private int bid;
        private String pic;
        private String pic_url;
        private long createtime;
        private long updatetime;

        public void setBid(int bid) {
            this.bid = bid;
        }

        public int getBid() {
            return bid;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getPic() {
            return pic;
        }

        public void setPic_url(String pic_url) {
            this.pic_url = pic_url;
        }

        public String getPic_url() {
            return pic_url;
        }

        public void setCreatetime(long createtime) {
            this.createtime = createtime;
        }

        public long getCreatetime() {
            return createtime;
        }

        public void setUpdatetime(long updatetime) {
            this.updatetime = updatetime;
        }

        public long getUpdatetime() {
            return updatetime;
        }

    }

    public class Data {

        private List<CategoryList> categoryList;
        private List<Banner> banner;

        public void setCategoryList(List<CategoryList> categoryList) {
            this.categoryList = categoryList;
        }

        public List<CategoryList> getCategoryList() {
            return categoryList;
        }

        public void setBanner(List<Banner> banner) {
            this.banner = banner;
        }

        public List<Banner> getBanner() {
            return banner;
        }

    }
}
